<%@ page import="Course.CourseDao" %>
<%@ page import="Course.CourseEnity" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/8/18
  Time: 17:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程管理</title>
</head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
      integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="courseMangement.css" rel="stylesheet" type="text/css">
<body background="/LoginInterface/loginFace.jpg">
<%
    CourseDao courseDao=new CourseDao();
    CourseEnity courseEnity=courseDao.getCourse(request.getParameter("courseNo"));
    session.setAttribute("workerNo",request.getParameter("workerNo"));
    session.setAttribute("courseNo",request.getParameter("courseNo"));
%>
     <div class="container">
             <div id="navbar" class="collapse navbar-collapse">
                 <ul class="nav navbar-nav">
                     <li><a href="courseMangement.jsp?workerNo=<%=request.getParameter("workerNo")%>&courseNo=<%=request.getParameter("courseNo")%>">首页</a> </li>
                     <li><a href="/TeacherServlet/seletIntroduceServlet?workerNo=<%=request.getParameter("workerNo")%>&courseNo=<%=request.getParameter("courseNo")%>">课程简介</a> </li>
                     <li><a href="AddStudentLesson.jsp">添加学生</a> </li>
                     <li><a href="unitStudy.jsp?workerNo=<%=request.getParameter("workerNo")%>&courseNo=<%=request.getParameter("courseNo")%>">单元学习</a></li>
                     <li><a href="courseWorkMangement.jsp?workerNo=<%=request.getParameter("workerNo")%>&courseNo=<%=request.getParameter("courseNo")%>">作业管理</a> </li>
                     <li><a href="SolvePro.jsp?workerNo=<%=request.getParameter("workerNo")%>&courseNo=<%=request.getParameter("courseNo")%>">答疑讨论</a> </li>
                 </ul>
             </div>
         <div class="bottom">
             <h4>课程信息</h4>
           课程号:<%=courseEnity.getCourseNo()%><br>
           课程名:<%=courseEnity.getCourseName()%><br>
           学分:<%=courseEnity.getCredit()%><br>
           上课教室:<%=courseEnity.getClassRoom()%><br>
           总学时:<%=courseEnity.getClassHour()%><br>
         </div>
     </div>
</body>
</html>
